<div class="span-18">
	<div class="nodeview">
		<h1 style="font-size: 15px;"><?php echo $item['Item']['title']; ?></h1>
		<br />
		<p><a href="<?php echo $item['Item']['url']; ?>" target="_blank"><img src="<?php echo $item['Item']['cover_image_url']; ?>" alt="<?php echo $item['Item']['title']; ?>" align="left" /></a>
		<?php echo $item['Item']['content']; ?>
		<br />
		<span style="color:red;font-size: 13px;">团购价：<?php echo($item['Item']['price']); ?>元</span>
		&nbsp;&nbsp;<span>结束时间：<?php echo(date("Y-m-d H:i", $item['Item']['end_time'])); ?></span>
		<br />
		<span style="font-size: 20px; font-weight: bold;"><a href="<?php
if (isset($item['Item']['supplier_id']) and isset($item['Supplier']['referral_code']) and time() < $item['Item']['end_time'])
{
	echo $item['Supplier']['referral_code'];
}
else
{
	echo $item['Item']['url'];
}
?>" target="_blank">购买</a></span>
		(由<a href="<?php
if (isset($item['Supplier']['referral_code']) and isset($item['Item']['supplier_id']))
	echo $item['Supplier']['referral_code'];
else
	echo $item['Item']['site_url'];
?>" target="_blank"><?php echo $item['Item']['website']; ?></a>提供服务)
		</p>
<!-- JiaThis Button BEGIN -->
<div id="ckepop">
	<a href="http://www.jiathis.com/share/?uid=891482" class="jiathis jiathis_txt jtico jtico_jiathis" target="_blank">分享到：</a>
	<a class="jiathis_button_tools_1"></a>
	<a class="jiathis_button_tools_2"></a>
	<a class="jiathis_button_tools_3"></a>
	<a class="jiathis_button_tools_4"></a>
</div>
<script type="text/javascript" src="http://v2.jiathis.com/code/jia.js?uid=891482" charset="utf-8"></script>
<!-- JiaThis Button END -->
		<!--<h5><a href="/item/edit/<?php echo $item['Item']['id']; ?>">Edit</a></h5>-->
	</div>
	<div style="clear:both;padding: 5px 15px;"><a href="javascript:history.go(-1);">返回上一页</a></div>
</div>
<div class="span-6 last">
	<div id="sidebarSuggestion">
	<?php echo $this->element('sidebar_recommended_items'); ?>
	</div>
	<div id="vanclunion">
	<a href="http://www.vancl.com/WebSource/WebSource.aspx?source=yamone&url=http://www.vancl.com/" target="_blank"><img alt="" src="http://union.vancl.com/adpic.aspx?w=220&h=245" border="0" /></a>
	<br />
	</div>
</div>
<?php
//if (isset($referralCode)) echo '<iframe src="' . $referralCode . '" width="0" height="0"></iframe>';
?>
